* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #ffffff; 
}
  
body {
    background: black; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}
  
.header {
    width: 100vw;
    display: flex;
    justify-content: center; 
    align-items: center;
    background-color: #000;
    padding: 20px 0;
    color: #fff;
    position: relative;
}

.header-text {
    text-align: center;
}

.header h1 {
    font-size: 30px; 
    margin: 0;
    font-weight: bold;
}

.header h2 {
    font-size: 35px;
    margin: 0;
    color: #fff;
}

.logodiv {
    height: 5rem; 
    width: 5rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    left: 40px;
}

.logoimg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%; 
}
@media (max-width: 768px) {
    .logodiv {
        padding-top: 25px;
        height: 4rem;
        width: 4rem;
        top: 5px;
        left: 10px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .header {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logodiv {
        height: 3rem;
        width: 3rem;
        top: 5px;
        left: 10px;
    }

    .header h1 {
        font-size: 1.2rem;
    }

    .header {
        padding: 10px;
        flex-direction: column; 
        justify-content: flex-start;
    }

    .header-text {
        margin-top: 10px;
        text-align: center;
    }
}

main {
    width: 100%;
    padding: 2rem;
}
  
.team-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
  
.departments {
    font-size: 2.5rem;
    margin: 2rem 0;
    text-align: center;
    color: #fff; 
}
  
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    margin-bottom: 3rem;
}
  
.card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
  
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}  


.profile-photo {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ccc;
}

/* .profile-label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
} */

.profile-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 50%;
}

/* .change-icon {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 12px;
    padding: 5px 0;
    display: none;
}

.profile-label:hover .change-icon {
    display: block;
} */



.card .name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff; 
}

.card .role {
    font-size: 1.2rem;
    color: #ccc; 
}
@media (max-width: 1040px) {
    .row {
        justify-content: center; 
    }

    .card {
        flex: 1 1 45%; 
    }

    .departments {
        font-size: 2rem; 
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 100%; 
        margin-bottom: 2rem;
    }

    header {
        font-size: 2.5rem; 
        padding: 1.5rem;
    }
  
    .departments {
        font-size: 1.75rem;
    }
}
  
@media (max-width: 500px) {
    header {
        font-size: 2rem; 
        padding: 1rem;
    }
  
    .departments {
        font-size: 1.5rem;
    }

    .card {
        padding: 1rem; 
        font-size: 1rem; 
    }
    .row{
        justify-content:flex-end;
    }
}

footer {
    background-color: #000; 
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    border-top: 3px solid #ffffff; 
}
  
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
  
.footer-content a {
    color: #ffffff; 
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
  
.footer-content a:hover {
    color: #fff; 
}
  
.footer-content p {
    margin: 10px 0 0;
}


.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(202, 167, 167); 
    background-color: rgba(213, 201, 201, 0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
